package com.example.myapplication.status2;

public class StatusOpen extends Status {
    public StatusOpen(StatusContext statusContext) {
        super(statusContext);
    }

    @Override
    public void doAction() {

    }

    @Override
    public void translateStatus() {
        System.out.println("status - 打开应用");
        statusContext.updateView(Event.OPEN);
    }

    @Override
    public void eventChange(Event event) {
        doAction();
    }
}
